const path = require("path");

// MAC路径形式：/users/liyang/desktop/

// windows路径形式：C:\temp\myfile.html

console.log( __dirname );
console.log( __filename );

const p = path.join(__dirname, "public", "html", "index.html");
console.log(p);

const p2 = __dirname + "/public/html/index.html";
console.log(p2);

